package com.college.interfaces;

import java.util.ArrayList;
import java.util.List;

import com.college.domain.Batch;
import com.college.domain.ChangePassword;
import com.college.domain.College;
import com.college.domain.Department;
import com.college.domain.Semester;
import com.college.dto.MapSemesterDTO;

public interface IConfigurationDAO {
	
	public College getCollegeById(int id);
	public List<College> getCollegeByName(String name);
	public List<College> getCollegeList();
	public int saveCollege(College college);
	public int updateCollege(College college);
	public void deleteCollegeById(int id);
	public List<String> getCollegeListForDropDown();
	
	public Department getDeptById(int deptId);
	public List<Department> getDeptByName(String deptName);
	public List<Department> getAllDept();
	public int saveDept(Department dept);
	public int updateDept(Department dept);
	public void deleteDeptById(int deptId);
	public List<String> getDeptListForDropDown();
	
	public int saveBatch(Batch batch);
	public List<Batch> getAllbatches();
	public List<String> getAllBatchForDropDrown();
	public List<Batch> getBatchByBatchName(String batchName);
	public int updateUserPassword(ChangePassword password, String userName);

	public List<MapSemesterDTO> getMappedBatchSem();
	public List<Semester> getAllSemesters();
}
